//
//  JZCameraViewController.h
//  JZShortVideo
//
//  Created by liujz on 31/05/2018.
//  Copyright © 2018 liujz. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_OPTIONS(NSUInteger, JZCameraType) {
    JZCameraTypePhoto              = 1 << 0,   // 仅拍照
    JZCameraTypeShortVideo         = 1 << 1,   // 仅拍视频
    JZCameraTypeSelfie             = 1 << 2,   // 自拍（默认即采用前置摄像头）
    
    JZCameraTypePhotoAndShortVideo = 3 << 0,   // 拍照+短视频
};

@interface JZCameraViewController : UIViewController

@property (nonatomic, assign)   JZCameraType type;

@property (nonatomic, copy)     void(^shootFinished)(BOOL isOK, UIImage* imagePhoto, NSURL* urlVideo);

@end
